WPAICG\Chat\Ajax\AIPKit_Chatbot_Index_Content_Ajax_Handler C

Total Complexity 118
Dependencies 11
Dependents 1
Total lines 586
Lines of code 420
Logical lines of code 276
Comment lines 59
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
ajax_start_content_indexing()
A
47 13 30
_create_vector_store()
A
47 11 30
_execute_indexing_process()
A
43 9 44
_determine_vector_config()
A
50 9 25
_cleanup_indexing_process()
S
48 7 30
_analyze_setup()
S
50 7 27
_get_all_indexable_content_types()
S
51 7 24
_update_bot_vector_settings()
S
52 6 24
_index_single_post()
S
51 6 23
ajax_analyze_express_setup()
S
53 6 20
__construct()
S
57 6 18
ajax_check_indexing_status()
S
55 6 17
ajax_get_indexing_progress()
S
54 5 19
_determine_embedding_config()
S
58 5 14
ajax_cancel_content_indexing()
S
58 4 14
_get_process_progress()
S
55 3 18
_generate_vector_store_name()
S
65 3 8
_start_indexing_process()
S
55 1 18
process_content_indexing()
S
76 1 4
_update_process_data()
S
78 1 3
_cancel_indexing_process()
S
78 1 3
_get_posts_to_index()
S
67 1 7